package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog wc = new Dog("旺财",2,"黑白");
        wc.eat();
        wc.lookHome();
        wc.drink();
        System.out.println("========================================");

        Chick xh = new Chick("小红",3,"红");
        xh.eat();
        xh.layEgg();
        xh.drink();
        System.out.println("=========================================");

        Fish ly = new Fish("鲤鱼",1,"黄");
        ly.eat();
        ly.drink();
        System.out.println("========================================");

        Animal an = new Animal("来福",5,"黑");
        an.eat();
        an.drink();
    }
}
